package com.whately.core.base.constant;

import lombok.Getter;

/**
 * id生成器类型
 */
@Getter
public enum IdGeneratorEnum {

    not_define(0,"不需指定"),

    sequence_db_id(1,"数据库序列id"),

    simple_snow_id(2,"简单雪花id"),

    ;


    Integer code;
    String text;

    private IdGeneratorEnum(int code, String text) {
        this.code = code;
        this.text = text;
    }

}
